/**
 * 学习目标：class 语法补充
 */
import React from 'react';
import ReactDOM from 'react-dom';

class Programmer {
  name = '程序员';
  writeCode() {
    return <h1>敲代码</h1>;
  }
  sayhi() {}
}
console.log('new Programmer   ----->  ', new Programmer());
const divNode = <></>;

ReactDOM.render(divNode, document.getElementById('root'));
